Mesh.setIndices

Use that function when the mesh doesn't hold ownership over the indices

  1. void setIndices(IHipRendererBuffer indexBuffer)
    class Mesh
    void
    setIndices
    (
    IHipRendererBuffer indexBuffer
    )
  2. void setIndices(index_t[] indices)

Parameters

indexBuffer IHipRendererBuffer

The index buffer to be shared

Meta